<template>
  <div class="pagination">
    <el-pagination @current-change="currentChange" :page-size="50" small background="#18a058" layout="prev, pager, next" :total="150" />
  </div>
</template>

<script>
import {ref} from 'vue'
export default {
  setup(props) {
    console.log(props);
  },
  props:{
    currentChange:Function
  }
}
</script>

<style lang="scss">
.pagination{
  margin: 20px;
  display: flex;
  justify-content: center;
}
</style>